let headDatas = [
  ["purchase","求购管理"],
  ["specify","指定商家求购"],
  ["realbills","实单求购"],
  ["orders","我的订单"],
  ["others","第三方订单"],
  ["selfSupport","风水网自营订单"],
  ["offerManage","报价管理"],
  ["myoffer","我的报价"],
  ["companyManage","公司管理"],
  ["identify","公司认证"],
  ["myorder","我的订单"],
  ["orderManage","订单管理"],
  ["product","商品管理"],
  ["productList","商品列表"],
  ["newproduct","新增商品"]
]

let btnDatas = [
  ["/center/buyer/purchase/specify", [
    [
      {type:"info",clickName:"cancelPurchase",label:"取消求购"}
    ],[
    {type:"danger",clickName:"",label:"购买"},
    {type:"info",clickName:"cancelPurchase",label:"取消求购"},
    ],[
      {type:"info",clickName:"cancelPurchase",label:"取消求购"}
    ],[
      {type:"danger",clickName:"",label:"删除求购"},
    ]
  ]],["/center/buyer/purchase/realbills",[
    [
      {type:"info",clickName:"cancelPurchase",label:"取消求购"}
    ],[
      {type:"success",clickName:"repeatPurchase",label:"重新发起求购"},
      {type:"info",clickName:"",label:"删除求购"}
    ],[
      {type:"success",clickName:"repeatPurchase",label:"重新发起求购"},
      {type:"info",clickName:"",label:"删除求购"}
    ],
  ]],["/center/buyer/orders/others",{
    urls:{
      list:'consumerCenter/checkOrderDetail.do'
    },
    btns: [
      [
        {type:"success",clickName:"",label:"去付款"},
        {type:"info",clickName:"",label:"取消订单"}
      ],[
        {type:"info",clickName:"",label:"取消订单"}
      ],[
        {type:"success",clickName:"",label:"确认收货"},
      ],[
        {type:"success",clickName:"doPrint",label:"打印"},
        {type:"danger",clickName:"",label:"删除订单"}
      ],[
        {type:"danger",clickName:"",label:"删除订单"}
      ]
    ]
    }],["/center/buyer/orders/selfSupport",[
    [
      {type:"success",clickName:"",label:"去付款"},
      {type:"info",clickName:"",label:"取消订单"}
    ],[
      {type:"info",clickName:"",label:"取消订单"}
    ],[
      {type:"success",clickName:"",label:"确认收货"},
    ],[
      {type:"success",clickName:"doPrint",label:"打印"},
      {type:"danger",clickName:"",label:"删除订单"}
    ],[
      {type:"danger",clickName:"",label:"删除订单"}
    ]
  ]],["/center/seller/offerManage/myoffer",{
    urls:{
      list:'quotationManage/getQuotationInfo.do'
    },
    btns:[
      [
        {type:"danger",clickName:"doReject",label:"拒绝报价"},
        {type:"success",clickName:"doSubmit",label:"提交报价"},
      ],
      [],
      []
    ]
  }],["/center/seller/myorder/orderManage",{
    urls:{
      list:"sellerOrder/getOrderInfo.do",
      cancel:"sellerOrder/cancelOrder.do",
      del:"sellerOrder/deleteOrder.do",
    },
    btns:[
      [
        {type:"danger",clickName:"doDel",label:"删除"},
      ],
      [],[
        {type:"success",clickName:"fillPic",label:"已送货"},
        {type:"primary",clickName:"fillInCourier",label:"填写物流单号"},
        {type:"info",clickName:"doCancel",label:"取消订单"},
      ],[],[],[
        {type:"danger",clickName:"doDel",label:"删除"},
        {type:"success",clickName:"doPrint",label:"打印"},
      ],[]
    ]
  }],["/center/mycenter/companyManage/identify",{
    btns:[
      [
        {type:"success",clickName:"submit",label:"提交"},
      ]
    ]
  }],["/center/seller/product/newproduct",{
    urls:{
      list:"goodsManage/insertPage.do",
    },
    btns:[
        [
         {type:"success",clickName:"doSave",label:"提交"},
        ]
    ]
    }],["/center/seller/product/productList",{
    urls:{
      list:"goodsManage/selectProductInfo.do",
    },
    btns:[
      [
        {type:"danger",clickName:"doDel",label:"删除"},
        {type:"success",clickName:"doUp",label:"上架"},
        {type:"primary",clickName:"doEdit",label:"修改",label1:"修改",clickName1:"doEdit",label2:"保存",clickName2:"doSave"},
      ],
      [
        {type:"success",clickName:"doDown",label:"下架"},
        {type:"primary",clickName:"doEdit",label:"修改",label1:"修改",clickName1:"doEdit",label2:"保存",clickName2:"doSave"},
      ],[
        {type:"danger",clickName:"doDel",label:"删除"},
        {type:"success",clickName:"doUp",label:"上架"},
        {type:"primary",clickName:"doEdit",label:"修改",label1:"修改",clickName1:"doEdit",label2:"保存",clickName2:"doSave"},
      ]
    ]
  }]
]


export {
  headDatas,
  btnDatas
}